Skip to content

Conversation

mashhurs
Copy link
Collaborator

@mashhurs mashhurs commented Jul 10, 2025

Description

This PR highlights the initial changes required to move to the Bridge Stable API. However, this doesn't mean these changes will be enough for the plugin to be a in normal working state. Rather, this changes highlight how does current bridge Spable API state align with plugin requirements. Based on the discussions on these changes, we may need to adjust the plan (sub-tasks).

Next steps

PLEASE IGNORE:

return new GeoIpProcessor.Factory("geoip", this.ipDatabaseProvider)
.create(processorFactories, tag, description, config, projectId);
Map<String, Object> config) throws Exception {
return ProcessorBridge.wrap(new GeoIpProcessor.Factory("geoip", this.ipDatabaseProvider)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will move rg.elasticsearch.ingest.geoip.GeoIpProcessor usage separately with GeoIP task.

@mashhurs mashhurs changed the base branch from move-to-es-bridge-api to main July 10, 2025 23:13
Copy link

mergify bot commented Jul 10, 2025

This pull request does not have a backport label. Could you fix it @mashhurs? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit.
  • If no backport is necessary, please add the backport-skip label

@mashhurs mashhurs added the backport-skip Skip automated backport with mergify label Jul 10, 2025
@mashhurs mashhurs force-pushed the move-to-es-bridge-investigation branch from 0707b1b to bc9af21 Compare July 10, 2025 23:16
@mashhurs mashhurs changed the title [Move to ES bridge API] Investigation DO NOT MERGE: [Move to ES bridge API] Investigation Jul 10, 2025
@mashhurs mashhurs force-pushed the move-to-es-bridge-investigation branch from 18333c6 to 5a96c8c Compare July 17, 2025 20:06
@mashhurs mashhurs changed the title DO NOT MERGE: [Move to ES bridge API] Investigation [DO NOT MERGE]: Move to ES bridge API Jul 18, 2025
@mashhurs mashhurs force-pushed the move-to-es-bridge-investigation branch from 9820699 to 9bdad09 Compare July 22, 2025 19:44
@mashhurs mashhurs changed the title [DO NOT MERGE]: Move to ES bridge API Move to ES bridge API Jul 23, 2025
@mashhurs mashhurs force-pushed the move-to-es-bridge-investigation branch from 09c332c to 9b0b557 Compare August 7, 2025 23:58
@mashhurs mashhurs force-pushed the move-to-es-bridge-investigation branch from fa3468c to 53ded41 Compare August 8, 2025 18:40
@@ -1,2 +1,3 @@
LOGSTASH_PATH=../../logstash
ELASTICSEARCH_TREEISH=main
ELASTICSEARCH_REPO=mashhurs/elasticsearch
ELASTICSEARCH_TREEISH=logstash-bridge-geoip-interfaces
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI: this will be removed once upstream PR is merged.


import org.elasticsearch.ingest.geoip.IpDatabase;

public interface ValidatableIpDatabase extends IpDatabase {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No direct usage.


import java.util.Map;

public class RedactPlugin extends Plugin implements IngestPlugin {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to the upstream bridge.

@mashhurs mashhurs marked this pull request as ready for review August 11, 2025 16:51
yaauie and others added 3 commits September 3, 2025 15:21
 - `new ${BRIDGE}(...)` -> `${BRIDGE}.create(...)`: use bridge-provided
   factory methods
 - `${INTERNAL}Bridge.${NESTED}` -> `${INTERNAL}${NESTED}Bridge`: extract
   nested bridges to top-level
 - `${BRIDGE}.AbstractExternal` -> `AbstractExternal${BRIDGE}`: extract
   nested "AbstractExternal" base implementations to top-level
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-skip Skip automated backport with mergify
Projects
None yet
3 participants